package edu.mama.college;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;

/**
 * WebFilter、WebServlet等注解不是Spring的注解，默认不生效，需要在SpringBoot的启动程序类上添加注解 @ServletComponentScan 启用
 */
@EnableCaching
@ServletComponentScan
@SpringBootApplication
public class CollegeApplication {

	public static void main(String[] args) {
		SpringApplication.run(CollegeApplication.class, args);
	}
}
